package com.cjh.wechat.core.service;

import java.util.List;
import com.cjh.wechat.commom.pojo.Friend;
import com.cjh.wechat.commom.pojo.User;
import com.cjh.wechat.commom.vo.MineVo;
import com.cjh.wechat.commom.vo.ShowFriendVo;

public interface FriendService
{
    public void delFriend(String id, String friendId);
    
    public void updateByPrimaryKeySelective(String id, String friendId, Integer tno);
    
    public List<Friend> findByUid(String uid);
    
    public List<ShowFriendVo> showFriend(String id);
    
    public void addFriend(String id, String friendId, Integer tno);
    
    public Friend findByUidAndFid(String id, String friendId);
    
    public List<Friend> findByTno(String uid, int tno);
    
    public void insert(Friend friend);
    
    public List<MineVo> getByTno(String uid, int tno);
    
    public List<User> inviteFriendList(String uid, String gid);
    
    public void inviteFriend(String uid, String gid);
    
}
